# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=semodule-utils
_release_date=20200710
pkgver=3.1
pkgrel=0
pkgdesc="SELinux semodule utilities"
url="https://github.com/SELinuxProject/"
arch="all"
license="GPL-2.0-only"
makedepends="libsepol-dev"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/SELinuxProject/selinux/releases/download/$_release_date/semodule-utils-$pkgver.tar.gz"

build() {
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="b92794bbfbce5834ee7f62fddb40b5506e9291e8fa7c5d669b2e281089b8f8dc40c4522ea287ac5deffdaee751442ba8e691e2ac45fdd378b60d5d6b2527d157  semodule-utils-3.1.tar.gz"
